Skip to content

Conversation

@saifsultanc
Copy link
Contributor

Context

⛑️ Ticket(s): https://secure.helpscout.net/conversation/2768471028/74224

Summary

When using the snippet along with a calculated Number field, if the number is greater than 1000, and so includes a comma, only the digits in front of the comma are being copied to the Discount field.

BEFORE:
Screenshot 2024-11-22 at 12 25 39 AM

AFTER:
Screenshot 2024-11-22 at 12 25 58 AM

Copy link
Contributor

@claygriffiths claygriffiths left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion to use existing GF JS function

Copy link
Contributor

@claygriffiths claygriffiths left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! S&M

@saifsultanc saifsultanc merged commit ddeeeb3 into master Dec 3, 2024
4 checks passed
@saifsultanc saifsultanc deleted the saif/fix/74224-fix-comma-issue branch December 3, 2024 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants